package com.drinks.yiniang.entity.goods;

import com.hansen.library.entity.BaseJson;

import java.util.List;

/**
 * @author han
 * @date 2019/9/6
 */
public class GoodsJson extends BaseJson {

    private GoodsData data;

    public GoodsData getData() {
        return data;
    }

    public void setData(GoodsData data) {
        this.data = data;
    }

    public static class GoodsData {
        private List<GoodsList> data;

        public List<GoodsList> getData() {
            return data;
        }

        public void setData(List<GoodsList> data) {
            this.data = data;
        }
    }

    public static class GoodsList {
        protected String id;
        protected String name;
        protected String en_name;
        protected String app_price;
        protected String recommend_reason;
        protected String cover_url;
        //活动价格
        private String activity_price;
        //是否显示对比价格 0不显示 其他显示
        private String is_show_contrast;
        protected List<GoodsActivity> activity;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getEn_name() {
            return en_name;
        }

        public void setEn_name(String en_name) {
            this.en_name = en_name;
        }

        public String getApp_price() {
            return app_price;
        }

        public void setApp_price(String app_price) {
            this.app_price = app_price;
        }

        public String getRecommend_reason() {
            return recommend_reason;
        }

        public void setRecommend_reason(String recommend_reason) {
            this.recommend_reason = recommend_reason;
        }

        public String getCover_url() {
            return cover_url;
        }

        public void setCover_url(String cover_url) {
            this.cover_url = cover_url;
        }

        public String getActivity_price() {
            return activity_price;
        }

        public void setActivity_price(String activity_price) {
            this.activity_price = activity_price;
        }

        public String getIs_show_contrast() {
            return is_show_contrast;
        }

        public void setIs_show_contrast(String is_show_contrast) {
            this.is_show_contrast = is_show_contrast;
        }

        public List<GoodsActivity> getActivity() {
            return activity;
        }

        public void setActivity(List<GoodsActivity> activity) {
            this.activity = activity;
        }
    }

    public static class GoodsActivity {
        private String activity_id;
        private String activity_type;
        private String type_value;
        private String tag_name;
        private String tag_color;
        private String price;

        public String getActivity_id() {
            return activity_id;
        }

        public void setActivity_id(String activity_id) {
            this.activity_id = activity_id;
        }

        public String getActivity_type() {
            return activity_type;
        }

        public void setActivity_type(String activity_type) {
            this.activity_type = activity_type;
        }

        public String getType_value() {
            return type_value;
        }

        public void setType_value(String type_value) {
            this.type_value = type_value;
        }

        public String getTag_name() {
            return tag_name;
        }

        public void setTag_name(String tag_name) {
            this.tag_name = tag_name;
        }

        public String getTag_color() {
            return tag_color;
        }

        public void setTag_color(String tag_color) {
            this.tag_color = tag_color;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }
    }
}
